import { TopCategory } from '@/types/category'
import { http } from '@/utils/http'

// 获取一级分类数组
export const getTopCartegoryList = () => {
  return http<TopCategory[]>({
    url: '/category/top'
  })
}
